/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.designPatterns.abstractFactory;

/**
 *
 * @author minga
 */
public class AbstractFactory {
    public SpeciesFactory getSpeciesFactory(String type)
    {
        if("mannual".equals(type))
        {
         return new MannualFactory();
        }
        else
           {
           return new ReptileFactory();
           }
    }
}
